
.header{
}
.header-link{
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    background-color: #333;
}
.header-link .header-link__service li{
    float: left;
}
.header-link .header-link__service{
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.header-link .header-link__service a{
    color: #b0b0b0;
    text-decoration: none;
}
.header-link .header-link__service li::after{
    content: '|';
    color: #424242;
    display: inline-block;
    padding: 0 7px;
}
.header-link .header-link__service li:last-child::after{
    content: '';
    padding: 0;
}
.header-link .header-link__service a:hover{
    color: #fff;
}
.header-link__info a{
    color: #b0b0b0;
    text-decoration: none;
}
.header-link__info{
    float: right;
    color: #b0b0b0;
    margin: 0; padding: 0;
}
.header-link__info__user{
    width: 110px;
    position: relative;
}
.header-link__info__username{
    position: relative;
    z-index: 2;
    cursor: pointer;
    width: 110px;
    text-align: center;
    z-index: 9;
}
.header-link__info__userInfo{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 110px;
    height: 0;
    overflow: hidden;
    transition: all .2s ease;
    padding: 0;
    margin: 0;
    z-index: 8;
}
.header-link__info__user:hover .header-link__info__userInfo{
    height: 185px ;
}
.header-link__info__userInfo li:first-child{
    padding-top: 40px;
}
.header-link__info__userInfo li{
    height: 28px;
    line-height: 28px;
    text-align: center;
}
.header-link__info__userInfo li a{
    color: black;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}
.header-link__info__userInfo li a:hover{
    color: #FF6700;
    background-color: #eee;
}
.header-link__info > li{
    float: left;
}
.header-link__info__msg, .header-link__info__order{
    padding: 0 15px;
}
.header-link__info__msg:hover, .header-link__info__order:hover{
    color: #fff;
}

.header-link__cat{
    position: relative;
}
.header-link__cat__icon{
    width: 120px;
    height: 40px;
    background-color: #FF6700;
    color: #fff;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}
.header-link__cat__list{
    width: 316px;
    position: absolute;
    height: 200px;
    background-color: #fff;
    right: 0;
}


/* nav */
.header-nav{
    height: 100px;
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.header-nav__logo{
    width: 55px;
    height: 55px;
    float: left;
    background-color: #FF6700;
}
.header-nav__logo a{
    text-align: left;
    text-indent: -9999em;
    display: block;
    width: 55px;
    height: 55px;
    overflow: hidden;
    position: relative;
}
.header-nav__logo a::before,
.header-nav__logo a::after{
    position: absolute;
    left: 0;
    top: 0;
    width: 55px;
    height: 55px;
    content: '';
    display: block;
    transition: all .2s ease;
}
.header-nav__logo a::before{
    background-image: url(https://s02.mifile.cn/assets/static/image/mi-home.png);
    background-position-x: 2px;
    background-position-y: 4px;
    left: -55px;
}
.header-nav__logo a::after{
    background-image: url(https://s02.mifile.cn/assets/static/image/mi-logo.png);
    background-position-x: 2px;
    background-position-y: 4px;
}

.header-nav__logo a:hover::before{
    left: 0px;
}
.header-nav__logo a:hover::after{
    left: 55px;
}
.header-nav__list{
    font-size: 16px;
}
.header-nav__list li{
    float: left;
    margin-right: 15px;
}
.header-nav__list a{
    text-decoration: none;
    color: #000;
}
.header-nav__search{
    width: 296px;
    height: 50px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.header-nav__search:hover{
    border: 1px solid #FF6700;
}

.header-nav__search__input{
    flex: 1;
    border: none;
    outline: none;
    text-indent: 10px;
}

.header-nav__search:hover button{
    border-left: 1px solid #FF6700;
}

.header-nav__search button{
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: #fff;
    border-left: 1px solid #ccc;
    cursor: pointer;
}
.header-nav__search button i{
    font-size: 24px;
}

